<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>学生注册</title>
    <!-- 引入Bootstrap样式 -->
    <link href="static/bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="static/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
    <script src="static/js/jquery.min.js"></script>
    <style>
        body {
            background: url("https://tse2-mm.cn.bing.net/th/id/OIP-C.SvOgTEnTE1MjIQP0seATiQHaLH?w=115&h=180&c=7&r=0&o=7&dpr=1.7&pid=1.7&rm=3") no-repeat center center fixed; /* 可替换为自己的背景图 */
            background-size: cover;
        }
        .register-box {
            width: 400px;
            margin: 50px auto;
          background-color: #5bc0de;
            padding: 30px;
            border-radius: 10px;
            color: #fff;
        }
        .form-group label {
            text-align: right;
        }
        .btn-area {
            margin-top: 20px;
        }
        .login-link {
            display: block;
            text-align: center;
            margin-top: 10px;
            color: #fff;
        }
    </style>
</head>
<body>
<div class="register-box">
    <h2 class="text-center">学生注册</h2>
    <form action="register" method="get" class="form-horizontal">
        <!-- 学号 -->
        <div class="form-group">
            <label for="stuno" class="col-sm-3 control-label">学号：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="stuno" name="stuno" placeholder="请输入学号">
            </div>
        </div>
        <!-- 密码 -->
        <div class="form-group">
            <label for="pwd" class="col-sm-3 control-label">密码：</label>
            <div class="col-sm-9">
                <input type="password" class="form-control" id="pwd" name="pwd" placeholder="请输入密码">
            </div>
        </div>
        <!-- 确认密码 -->
        <div class="form-group">
            <label for="repwd" class="col-sm-3 control-label">确认密码：</label>
            <div class="col-sm-9">
                <input type="password" class="form-control" id="repwd" name="repwd" placeholder="请再次输入密码">
            </div>
        </div>
        <!-- 姓名 -->
        <div class="form-group">
            <label for="name" class="col-sm-3 control-label">姓名：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="name" name="name" placeholder="请输入姓名">
            </div>
        </div>
        <!-- 年级 -->
        <div class="form-group">
            <label for="grade" class="col-sm-3 control-label">年级：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="grade" name="grade" placeholder="请输入年级">
            </div>
        </div>
        <!-- 班级 -->
        <div class="form-group">
            <label for="clazz" class="col-sm-3 control-label">班级：</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="clazz" name="clazz" placeholder="请输入班级">
            </div>
        </div>
        <!-- 按钮区域 -->
        <div class="form-group btn-area">
            <div class="col-sm-offset-3 col-sm-4">
                <button type="submit" class="btn btn-info btn-block">注册</button>
            </div>
            <div class="col-sm-4">
                <button type="reset" class="btn btn-default btn-block">重置</button>
            </div>
        </div>
        <a href="login.html" class="login-link">已有账号？去登录</a>
    </form>
</div>
</body>
</html>
